﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace ACS.Debugger.DebugInfo
{
    [XmlRoot("NumberCodeString")]
    public class CodeString
    {
        private bool _IsPossibleBPActivation;
        private int _NumberCodeStringAS;
        private int _NumberCodeStringCS;
        private string _InProcedure;
        //  private string _code;

        [XmlAttribute("bpPossible")]
        public bool IsPossibleBPActivation
        {
            get { return _IsPossibleBPActivation; }
            set { _IsPossibleBPActivation = value; }
        }

        //[XmlIgnore]
        //public string Code
        //{
        //  get { return _code; }
        //  set { _code = value; }
        //}

        [XmlAttribute("as")]

        public int NumberCodeStringAC
        {
            get { return _NumberCodeStringAS; }
            set { _NumberCodeStringAS = value; }
        }
        [XmlAttribute("cs")]
        public int NumberCodeStringCS
        {
            get { return _NumberCodeStringCS; }
            set { _NumberCodeStringCS = value; }
        }
        [XmlAttribute("InProcedure")]
        public string InProcedure
        {
            get { return _InProcedure; }
            set { _InProcedure = value; }
        }

    }
}
